package com.itheima.a01staticdemo04;

public class Test {
    public static int OnlineNum = 100;
    String name;

    public static void gg() {
        System.out.println(OnlineNum);
        System.out.println(Test.OnlineNum);
        // System.out.println(name);       //不可以直接访问实例成员


    }
    public void show(){
        System.out.println("name:"+name);
    }

}

